package com.paradogs.framework.server;

import io.netty.buffer.ByteBuf;

import java.io.IOException;

/**
 * @author: yumi
 * @date: 2023/12/26  12:09
 * @Description: TODO
 */
public interface IMessageSerializable {

    void serialization(ByteBuf out) throws IOException;

    void deserialization(ByteBuf in) throws IOException;

    void deserialization(byte[] b) throws IOException;
}
